package com.th.supcom.pds.sortingdrug.client.service;

import java.util.List;
import java.util.Map;

import net.carefx.framework.container.client.exception.UiException;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;
import com.th.supcom.pds.common.client.commom.PdsAuditPrescServiceFactory;
import com.th.supcom.pds.sortingdrug.client.model.PdsSupplyProModel;

@RemoteServiceRelativePath (PdsAuditPrescServiceFactory.BASE_URL + "sortingDrug.do")
public interface SortingDrugRpc extends RemoteService
{
    /**
     * 找出已收方收费未分拣的处方
     * @param prescNo
     * @param deptCode
     * @return
     * @throws UiException
     */
    public Map <Long, List <PdsSupplyProModel>> findPrescDetailInfoByDept (String deptCode) throws UiException;
    
    /**
     * 修改处方过信息的分拣状态
     * @param models
     * @return
     * @throws UiException
     */
    public void modifyPrescDetailByList (List <PdsSupplyProModel> models) throws UiException;
}
